#include<stdio.h>
#include<stdlib.h>
int main()
{
	FILE *fp=NULL;
	fp=fopen("upper.txt","w+");
	if(fp==NULL)
	{
		printf("_______");
		exit(0);
	}
	char s;
	while ((s=getchar()) !='!')
	{
		if(s>='a' && s<='z')
		s=s-32;
		fputc(s,fp);
	}
	rewind(fp);
	char ch;
	while ((ch = fgetc(fp)) != EOF)
	{
        printf("%c", ch);
    }
    fclose(fp);
	return 0;
}
